import {Column, Model, Table} from "sequelize-typescript";
import {DataTypes} from "sequelize";
import {sequelize} from "../sequelize";

@Table({tableName:'ad_yuntu_pechoin',timestamps:false })
export class AdYuntuPechoinModel extends Model{

    @Column({type:DataTypes.STRING})
    put_in_date!: string

    @Column({type:DataTypes.STRING})
     put_in_type!:string

    @Column({type:DataTypes.STRING})
    talent!:string

    @Column({type:DataTypes.STRING})
    schedule_id!:string

    @Column({type:DataTypes.STRING})
    plan_id!:string

    @Column({type:DataTypes.STRING})
    shop_ids!:string

    @Column({type:DataTypes.STRING})
    user_id!:string

    @Column({type:DataTypes.STRING})
    user_name!:string

    @Column({type:DataTypes.STRING})
    content!:string

    @Column({type:DataTypes.STRING})
    uuid!:string

    @Column({type:DataTypes.SMALLINT})
    versions!:number
}

